#coding=utf-8
#Boa:PopupTransientWindow:PopupTWinList

import wx

from product import *

def create(parent):
    return PopupTWinList(parent)

[wxID_POPUPTWINLIST] = [wx.NewId() for _init_ctrls in range(1)]

class PopupTWinList(wx.PopupTransientWindow):
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.PopupTransientWindow.__init__(self, style=wx.SIMPLE_BORDER,
              parent=prnt)
        self.SetSize(wx.Size(701, 278))
        self.Move(wx.Point(377, 289))
        self.SetName(u'PopupTWinList')

    def __init__(self, parent, clsListCtrl):
        self._init_ctrls(parent)
        
        self.lc = clsListCtrl(self, CDataCustomer)
        
    
    def refreshList(self, filterDict):
        self.lc.refresh(filterDict)
        
